package com.test5.liang.service;


import com.test5.liang.dao.examinationMapper;
import com.test5.liang.pojo.examination;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class examinationService {

    @Autowired
    examinationMapper examinationMapper;

   public int insertExamination(examination examination){
       return examinationMapper.insertExamination(examination);
    }

    public List<examination> selectExamination(examination examination){
       return examinationMapper.selectExamination(examination);
    }

    public List<examination> selectExamtypeCount(examination examination){
       return examinationMapper.selectExamtypeCount(examination);
    }


}
